<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%><!-- 引入标签库 -->
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>My JSP 'signin.jsp' starting page</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

</head>

<body>
	<div align="center">
		<form name="signinForm" action="<%=path%>/login/Userinfo_saveUser.action"
			method="post">
			<!-- start of login form -->
			<div id="welcome"></div>
			<s:fielderror fieldName="idError"></s:fielderror>
			<div id="user-id">
				<span class="item">用户名:</span> <span><input type="text"
					name="userid" class="form-input" value="admin"></span>
				<s:fielderror fieldName="useridError" />
			</div>

			<div id="user-name">
				<span class="item">昵称:</span> <span><input type="text"
					name="username" class="form-input" value="admin"></span>
			</div>

			<div id="user-password">
				<span class="item">密&nbsp;&nbsp;&nbsp;码:</span> <span class="input"><input
					type="password" name="password" class="form-input" value="1234"></span>
				<s:fielderror fieldName="passwordError" />
			</div>

			<div id="user-repassword">
				<span class="item">确认密码:</span> <span class="input"><input
					type="password" name="repassword" class="form-input" value="1234"></span>

				<s:fielderror fieldName="verifyError" />
			</div>

			<div id="user-gender">
				<span class="item">性&nbsp;&nbsp;&nbsp;别:</span> <input type="radio"
					name="gender" value="男" checked="checked" />男 <input type="radio"
					name="gender" value="女" />女
			</div>

			<div id="user-address">
				<span class="item">地&nbsp;&nbsp;&nbsp;址:</span> <span class="input"><input
					type="text" name="address" class="form-input" value="北京市"></span>

			</div>

			<div id="user-email">
				<span class="item">邮&nbsp;&nbsp;&nbsp;件:</span> <span class="input"><input
					type="text" name="email" class="form-input" value="123@123.com"></span>
				<s:fielderror fieldName="emailError" />
			</div>

			<div id="user-phone">
				<span class="item">手&nbsp;&nbsp;&nbsp;机:</span> <span class="input"><input
					type="text" name="phone" class="form-input" value="18510082233"></span>
				<s:fielderror fieldName="phoneError" />
			</div>

			<div id="user-postcode">
				<span class="item">邮&nbsp;&nbsp;&nbsp;编:</span> <span class="input"><input
					type="text" name="postcode" class="form-input" value="10044"></span>
				<s:fielderror fieldName="postcodeError" />
			</div>

			<div id="button-group">
				<input type="submit" class="btn" value="确定" />

			</div>
			<div></div>
			<!-- end of form -->
		</form>
	</div>
</body>
</html>
